package com.tebiecloud.goods.server.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tebiecloud.goods.client.model.entity.Goods;
import com.tebiecloud.common.mybatis.base.service.IBaseService;
import com.tebiecloud.goods.client.model.vo.GoodsByActVO;
import com.tebiecloud.goods.client.model.vo.GoodsListVO;
import com.tebiecloud.goods.client.model.vo.GoodsVO;

import java.util.List;

/**
 * 商品表 服务类
 * @author tebie
 * @date 2019-09-12
 */
public interface GoodsService extends IBaseService<Goods> {

    /**
     * 获取商品列表
     * @param page
     * @param limit
     * @param storeId
     * @return
     */
    IPage<GoodsListVO> listGoods(Integer page, Integer limit, long storeId);

    /**
     * 商品详情
     * @param goodsId
     * @return
     */
    GoodsVO info(long goodsId,Long actId);

}
